package com.shiguiwu.springmybatis.designpattern.builder;

/**
 * @description: 测试类
 * @author: stone
 * @date: Created by 2021/2/20 15:19
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.builder
 */
public class BuilderTests {
    public static void main(String[] args) {
        Course course = new Course.CourseBuilder()
                .buildAuthor("shiguiwu").buildLong(12L)
                .buildPageSize(11).buildTitle("精准扶贫")
                .build();
        System.out.println(course.toString());

    }
}
